import Vue from 'vue';
import Router from 'vue-router';
import Login from 'containers/Login';
import Entry from 'containers/Entry';

Vue.use(Router);

const routes = [
    {
        path: '/',
        name: 'Login',
        component: Login
    }, {
        path: '/entry',
        name: 'Entry',
        component: Entry
    }
]

export default new Router({
    routes: routes,
    linkActiveClass: 'active',
    history: true,
    hash: 'hash'
})